package com.example.demo.dao;

import com.example.demo.entity.Picture;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PictureDao {
    List<Picture> list();

    // 添加图片信息
    int insertFood(Picture picture);

    void delete(int id);
    Picture selectid(int id);
}